<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9"/>
<title>NGUI: UITweener Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">NGUI
   &#160;<span id="projectnumber">3.11.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_u_i_tweener.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="class_u_i_tweener-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">UITweener Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p>Base class for all tweening operations.  
 <a href="class_u_i_tweener.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for UITweener:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_u_i_tweener.png" usemap="#UITweener_map" alt=""/>
  <map id="UITweener_map" name="UITweener_map">
<area href="class_tween_alpha.html" title="Tween the object&#39;s alpha. Works with both UI widgets as well as renderers. " alt="TweenAlpha" shape="rect" coords="116,112,222,136"/>
<area href="class_tween_color.html" title="Tween the object&#39;s color. " alt="TweenColor" shape="rect" coords="116,168,222,192"/>
<area href="class_tween_fill.html" title="Tween the sprite&#39;s fill. " alt="TweenFill" shape="rect" coords="116,224,222,248"/>
<area href="class_tween_f_o_v.html" title="Tween the camera&#39;s field of view. " alt="TweenFOV" shape="rect" coords="116,280,222,304"/>
<area href="class_tween_height.html" title="Tween the widget&#39;s size. " alt="TweenHeight" shape="rect" coords="116,336,222,360"/>
<area href="class_tween_letters.html" title="Attaching this script to a label will make the label&#39;s letters animate. " alt="TweenLetters" shape="rect" coords="116,392,222,416"/>
<area href="class_tween_ortho_size.html" title="Tween the camera&#39;s orthographic size. " alt="TweenOrthoSize" shape="rect" coords="116,448,222,472"/>
<area href="class_tween_position.html" title="Tween the object&#39;s position. " alt="TweenPosition" shape="rect" coords="116,504,222,528"/>
<area href="class_tween_rotation.html" title="Tween the object&#39;s rotation. " alt="TweenRotation" shape="rect" coords="116,560,222,584"/>
<area href="class_tween_scale.html" title="Tween the object&#39;s local scale. " alt="TweenScale" shape="rect" coords="116,616,222,640"/>
<area href="class_tween_transform.html" title="Tween the object&#39;s position, rotation and scale. " alt="TweenTransform" shape="rect" coords="116,672,222,696"/>
<area href="class_tween_volume.html" title="Tween the audio source&#39;s volume. " alt="TweenVolume" shape="rect" coords="116,728,222,752"/>
<area href="class_tween_width.html" title="Tween the widget&#39;s size. " alt="TweenWidth" shape="rect" coords="116,784,222,808"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a777444e769dac6f3f472b02567d2d129"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a777444e769dac6f3f472b02567d2d129"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>Method</b> { <br />
&#160;&#160;<b>Linear</b>, 
<b>EaseIn</b>, 
<b>EaseOut</b>, 
<b>EaseInOut</b>, 
<br />
&#160;&#160;<b>BounceIn</b>, 
<b>BounceOut</b>
<br />
 }</td></tr>
<tr class="separator:a777444e769dac6f3f472b02567d2d129"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acbe46a747335493be984e6e5a88ebcf9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acbe46a747335493be984e6e5a88ebcf9"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>Style</b> { <b>Once</b>, 
<b>Loop</b>, 
<b>PingPong</b>
 }</td></tr>
<tr class="separator:acbe46a747335493be984e6e5a88ebcf9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a41e5d5625c5af78ad74da3cb635adb5e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_tweener.html#a41e5d5625c5af78ad74da3cb635adb5e">SetOnFinished</a> (EventDelegate.Callback del)</td></tr>
<tr class="memdesc:a41e5d5625c5af78ad74da3cb635adb5e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convenience function &ndash; set a new OnFinished event delegate (here for to be consistent with RemoveOnFinished).  <a href="#a41e5d5625c5af78ad74da3cb635adb5e">More...</a><br /></td></tr>
<tr class="separator:a41e5d5625c5af78ad74da3cb635adb5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6fa07262b093ee225473785eac5f3a67"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_tweener.html#a6fa07262b093ee225473785eac5f3a67">SetOnFinished</a> (<a class="el" href="class_event_delegate.html">EventDelegate</a> del)</td></tr>
<tr class="memdesc:a6fa07262b093ee225473785eac5f3a67"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convenience function &ndash; set a new OnFinished event delegate (here for to be consistent with RemoveOnFinished).  <a href="#a6fa07262b093ee225473785eac5f3a67">More...</a><br /></td></tr>
<tr class="separator:a6fa07262b093ee225473785eac5f3a67"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a534a35ee4eb70049569b8d3a1e273d5a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_tweener.html#a534a35ee4eb70049569b8d3a1e273d5a">AddOnFinished</a> (EventDelegate.Callback del)</td></tr>
<tr class="memdesc:a534a35ee4eb70049569b8d3a1e273d5a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convenience function &ndash; add a new OnFinished event delegate (here for to be consistent with RemoveOnFinished).  <a href="#a534a35ee4eb70049569b8d3a1e273d5a">More...</a><br /></td></tr>
<tr class="separator:a534a35ee4eb70049569b8d3a1e273d5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a564c38f7ec5d8df984e85b41645b1cfc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_tweener.html#a564c38f7ec5d8df984e85b41645b1cfc">AddOnFinished</a> (<a class="el" href="class_event_delegate.html">EventDelegate</a> del)</td></tr>
<tr class="memdesc:a564c38f7ec5d8df984e85b41645b1cfc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convenience function &ndash; add a new OnFinished event delegate (here for to be consistent with RemoveOnFinished).  <a href="#a564c38f7ec5d8df984e85b41645b1cfc">More...</a><br /></td></tr>
<tr class="separator:a564c38f7ec5d8df984e85b41645b1cfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8088bc9f6b466a885be29fb3600361c5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_tweener.html#a8088bc9f6b466a885be29fb3600361c5">RemoveOnFinished</a> (<a class="el" href="class_event_delegate.html">EventDelegate</a> del)</td></tr>
<tr class="memdesc:a8088bc9f6b466a885be29fb3600361c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Remove an OnFinished delegate. Will work even while iterating through the list when the tweener has finished its operation.  <a href="#a8088bc9f6b466a885be29fb3600361c5">More...</a><br /></td></tr>
<tr class="separator:a8088bc9f6b466a885be29fb3600361c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e77b31004ced03fef3d7c3dad2ed768"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_tweener.html#a6e77b31004ced03fef3d7c3dad2ed768">Sample</a> (float factor, bool isFinished)</td></tr>
<tr class="memdesc:a6e77b31004ced03fef3d7c3dad2ed768"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sample the tween at the specified factor.  <a href="#a6e77b31004ced03fef3d7c3dad2ed768">More...</a><br /></td></tr>
<tr class="separator:a6e77b31004ced03fef3d7c3dad2ed768"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ccf8d451170e6d3a92a8930c7db6695"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_tweener.html#a5ccf8d451170e6d3a92a8930c7db6695">Play</a> ()</td></tr>
<tr class="memdesc:a5ccf8d451170e6d3a92a8930c7db6695"><td class="mdescLeft">&#160;</td><td class="mdescRight">Play the tween.  <a href="#a5ccf8d451170e6d3a92a8930c7db6695">More...</a><br /></td></tr>
<tr class="separator:a5ccf8d451170e6d3a92a8930c7db6695"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a381d8b68ddbb056d850c5de7d8725856"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_tweener.html#a381d8b68ddbb056d850c5de7d8725856">PlayForward</a> ()</td></tr>
<tr class="memdesc:a381d8b68ddbb056d850c5de7d8725856"><td class="mdescLeft">&#160;</td><td class="mdescRight">Play the tween forward.  <a href="#a381d8b68ddbb056d850c5de7d8725856">More...</a><br /></td></tr>
<tr class="separator:a381d8b68ddbb056d850c5de7d8725856"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad18cd25b177d4f0dfd8137a45ca17b5d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_tweener.html#ad18cd25b177d4f0dfd8137a45ca17b5d">PlayReverse</a> ()</td></tr>
<tr class="memdesc:ad18cd25b177d4f0dfd8137a45ca17b5d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Play the tween in reverse.  <a href="#ad18cd25b177d4f0dfd8137a45ca17b5d">More...</a><br /></td></tr>
<tr class="separator:ad18cd25b177d4f0dfd8137a45ca17b5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a717faff21dfdd2ffc0a20a2b75152917"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_tweener.html#a717faff21dfdd2ffc0a20a2b75152917">Play</a> (bool forward)</td></tr>
<tr class="memdesc:a717faff21dfdd2ffc0a20a2b75152917"><td class="mdescLeft">&#160;</td><td class="mdescRight">Manually activate the tweening process, reversing it if necessary.  <a href="#a717faff21dfdd2ffc0a20a2b75152917">More...</a><br /></td></tr>
<tr class="separator:a717faff21dfdd2ffc0a20a2b75152917"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4ec42bdf7e922ee4a41a3d765ef4438"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_tweener.html#ad4ec42bdf7e922ee4a41a3d765ef4438">ResetToBeginning</a> ()</td></tr>
<tr class="memdesc:ad4ec42bdf7e922ee4a41a3d765ef4438"><td class="mdescLeft">&#160;</td><td class="mdescRight">Manually reset the tweener's state to the beginning. If the tween is playing forward, this means the tween's start. If the tween is playing in reverse, this means the tween's end.  <a href="#ad4ec42bdf7e922ee4a41a3d765ef4438">More...</a><br /></td></tr>
<tr class="separator:ad4ec42bdf7e922ee4a41a3d765ef4438"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adfa96ed8007042236f4fa79a2d7b8be8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_tweener.html#adfa96ed8007042236f4fa79a2d7b8be8">Toggle</a> ()</td></tr>
<tr class="memdesc:adfa96ed8007042236f4fa79a2d7b8be8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Manually start the tweening process, reversing its direction.  <a href="#adfa96ed8007042236f4fa79a2d7b8be8">More...</a><br /></td></tr>
<tr class="separator:adfa96ed8007042236f4fa79a2d7b8be8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adba77da9def421a6d4fb242ba9c254c5"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_tweener.html#adba77da9def421a6d4fb242ba9c254c5">SetStartToCurrentValue</a> ()</td></tr>
<tr class="memdesc:adba77da9def421a6d4fb242ba9c254c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the 'from' value to the current one.  <a href="#adba77da9def421a6d4fb242ba9c254c5">More...</a><br /></td></tr>
<tr class="separator:adba77da9def421a6d4fb242ba9c254c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6fa8ed8fcb4b2b7c3c466ffa0d42e60"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_tweener.html#aa6fa8ed8fcb4b2b7c3c466ffa0d42e60">SetEndToCurrentValue</a> ()</td></tr>
<tr class="memdesc:aa6fa8ed8fcb4b2b7c3c466ffa0d42e60"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the 'to' value to the current one.  <a href="#aa6fa8ed8fcb4b2b7c3c466ffa0d42e60">More...</a><br /></td></tr>
<tr class="separator:aa6fa8ed8fcb4b2b7c3c466ffa0d42e60"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:aa04b45d3a0bbd70b9c58f40bbbaafb4e"><td class="memItemLeft" align="right" valign="top">static T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_tweener.html#aa04b45d3a0bbd70b9c58f40bbbaafb4e">Begin&lt; T &gt;</a> (GameObject go, float <a class="el" href="class_u_i_tweener.html#a8b0d2007cc5bb8a4f15376e9f79d5f47">duration</a>, float <a class="el" href="class_u_i_tweener.html#a0b543af734bd25b6cd63603fd85f077e">delay</a>=0f)</td></tr>
<tr class="memdesc:aa04b45d3a0bbd70b9c58f40bbbaafb4e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Starts the tweening operation.  <a href="#aa04b45d3a0bbd70b9c58f40bbbaafb4e">More...</a><br /></td></tr>
<tr class="separator:aa04b45d3a0bbd70b9c58f40bbbaafb4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:af29adcd2bf734700b944d86b91077788"><td class="memItemLeft" align="right" valign="top">Method&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_tweener.html#af29adcd2bf734700b944d86b91077788">method</a> = Method.Linear</td></tr>
<tr class="memdesc:af29adcd2bf734700b944d86b91077788"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tweening method used.  <a href="#af29adcd2bf734700b944d86b91077788">More...</a><br /></td></tr>
<tr class="separator:af29adcd2bf734700b944d86b91077788"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e99adea86bc7dbed894862c61b16472"><td class="memItemLeft" align="right" valign="top">Style&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_tweener.html#a8e99adea86bc7dbed894862c61b16472">style</a> = Style.Once</td></tr>
<tr class="memdesc:a8e99adea86bc7dbed894862c61b16472"><td class="mdescLeft">&#160;</td><td class="mdescRight">Does it play once? Does it loop?  <a href="#a8e99adea86bc7dbed894862c61b16472">More...</a><br /></td></tr>
<tr class="separator:a8e99adea86bc7dbed894862c61b16472"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab619544770f3da215dfb0f99aa708dab"><td class="memItemLeft" align="right" valign="top">AnimationCurve&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_tweener.html#ab619544770f3da215dfb0f99aa708dab">animationCurve</a> = new AnimationCurve(new Keyframe(0f, 0f, 0f, 1f), new Keyframe(1f, 1f, 1f, 0f))</td></tr>
<tr class="memdesc:ab619544770f3da215dfb0f99aa708dab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Optional curve to apply to the tween's time factor value.  <a href="#ab619544770f3da215dfb0f99aa708dab">More...</a><br /></td></tr>
<tr class="separator:ab619544770f3da215dfb0f99aa708dab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70109184cbfb855672178546c041f978"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_tweener.html#a70109184cbfb855672178546c041f978">ignoreTimeScale</a> = true</td></tr>
<tr class="memdesc:a70109184cbfb855672178546c041f978"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the tween will ignore the timescale, making it work while the game is paused.  <a href="#a70109184cbfb855672178546c041f978">More...</a><br /></td></tr>
<tr class="separator:a70109184cbfb855672178546c041f978"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b543af734bd25b6cd63603fd85f077e"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_tweener.html#a0b543af734bd25b6cd63603fd85f077e">delay</a> = 0f</td></tr>
<tr class="memdesc:a0b543af734bd25b6cd63603fd85f077e"><td class="mdescLeft">&#160;</td><td class="mdescRight">How long will the tweener wait before starting the tween?  <a href="#a0b543af734bd25b6cd63603fd85f077e">More...</a><br /></td></tr>
<tr class="separator:a0b543af734bd25b6cd63603fd85f077e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b0d2007cc5bb8a4f15376e9f79d5f47"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_tweener.html#a8b0d2007cc5bb8a4f15376e9f79d5f47">duration</a> = 1f</td></tr>
<tr class="memdesc:a8b0d2007cc5bb8a4f15376e9f79d5f47"><td class="mdescLeft">&#160;</td><td class="mdescRight">How long is the duration of the tween?  <a href="#a8b0d2007cc5bb8a4f15376e9f79d5f47">More...</a><br /></td></tr>
<tr class="separator:a8b0d2007cc5bb8a4f15376e9f79d5f47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a67538bc1bb9f9de1256d378927622fad"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_tweener.html#a67538bc1bb9f9de1256d378927622fad">steeperCurves</a> = false</td></tr>
<tr class="memdesc:a67538bc1bb9f9de1256d378927622fad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the tweener will use steeper curves for ease in / out style interpolation.  <a href="#a67538bc1bb9f9de1256d378927622fad">More...</a><br /></td></tr>
<tr class="separator:a67538bc1bb9f9de1256d378927622fad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e68360886bb3298cdd86b8f0326770c"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_tweener.html#a4e68360886bb3298cdd86b8f0326770c">tweenGroup</a> = 0</td></tr>
<tr class="memdesc:a4e68360886bb3298cdd86b8f0326770c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Used by buttons and tween sequences. Group of '0' means not in a sequence.  <a href="#a4e68360886bb3298cdd86b8f0326770c">More...</a><br /></td></tr>
<tr class="separator:a4e68360886bb3298cdd86b8f0326770c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2de0937c1230550003fb40b64d7997dd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2de0937c1230550003fb40b64d7997dd"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>useFixedUpdate</b> = false</td></tr>
<tr class="separator:a2de0937c1230550003fb40b64d7997dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b7a6b406cf2dedc158e8998c3159a67"><td class="memItemLeft" align="right" valign="top">List&lt; <a class="el" href="class_event_delegate.html">EventDelegate</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_tweener.html#a6b7a6b406cf2dedc158e8998c3159a67">onFinished</a> = new List&lt;<a class="el" href="class_event_delegate.html">EventDelegate</a>&gt;()</td></tr>
<tr class="memdesc:a6b7a6b406cf2dedc158e8998c3159a67"><td class="mdescLeft">&#160;</td><td class="mdescRight">Event delegates called when the animation finishes.  <a href="#a6b7a6b406cf2dedc158e8998c3159a67">More...</a><br /></td></tr>
<tr class="separator:a6b7a6b406cf2dedc158e8998c3159a67"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52b4f5b3ebc624c6137c9b9894e2d828"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a52b4f5b3ebc624c6137c9b9894e2d828"></a>
GameObject&#160;</td><td class="memItemRight" valign="bottom"><b>eventReceiver</b></td></tr>
<tr class="separator:a52b4f5b3ebc624c6137c9b9894e2d828"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a040bbe7caf777551159b81830cb2abe7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a040bbe7caf777551159b81830cb2abe7"></a>
string&#160;</td><td class="memItemRight" valign="bottom"><b>callWhenFinished</b></td></tr>
<tr class="separator:a040bbe7caf777551159b81830cb2abe7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2621b652ce140865c53624d3195f9f63"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_tweener.html#a2621b652ce140865c53624d3195f9f63">timeScale</a> = 1f</td></tr>
<tr class="memdesc:a2621b652ce140865c53624d3195f9f63"><td class="mdescLeft">&#160;</td><td class="mdescRight">Custom time scale for this tween, if desired. Can be used to slow down or speed up the animation.  <a href="#a2621b652ce140865c53624d3195f9f63">More...</a><br /></td></tr>
<tr class="separator:a2621b652ce140865c53624d3195f9f63"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:a89b127942e07fb83f8b86e69f129f9bc"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_u_i_tweener.html">UITweener</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_tweener.html#a89b127942e07fb83f8b86e69f129f9bc">current</a></td></tr>
<tr class="memdesc:a89b127942e07fb83f8b86e69f129f9bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Current tween that triggered the callback function.  <a href="#a89b127942e07fb83f8b86e69f129f9bc">More...</a><br /></td></tr>
<tr class="separator:a89b127942e07fb83f8b86e69f129f9bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:ae4769a25a1fbcac14c4a87406b4618f7"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_tweener.html#ae4769a25a1fbcac14c4a87406b4618f7">Start</a> ()</td></tr>
<tr class="memdesc:ae4769a25a1fbcac14c4a87406b4618f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update as soon as it's started so that there is no delay.  <a href="#ae4769a25a1fbcac14c4a87406b4618f7">More...</a><br /></td></tr>
<tr class="separator:ae4769a25a1fbcac14c4a87406b4618f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41ff4172b0e3d808195699cd8c76b798"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a41ff4172b0e3d808195699cd8c76b798"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>Update</b> ()</td></tr>
<tr class="separator:a41ff4172b0e3d808195699cd8c76b798"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae89e04b8671051a0643008654c1f9efd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae89e04b8671051a0643008654c1f9efd"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>FixedUpdate</b> ()</td></tr>
<tr class="separator:ae89e04b8671051a0643008654c1f9efd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17d1b0139f6070b0b2b0011ff6c0428c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_tweener.html#a17d1b0139f6070b0b2b0011ff6c0428c">DoUpdate</a> ()</td></tr>
<tr class="memdesc:a17d1b0139f6070b0b2b0011ff6c0428c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update the tweening factor and call the virtual update function.  <a href="#a17d1b0139f6070b0b2b0011ff6c0428c">More...</a><br /></td></tr>
<tr class="separator:a17d1b0139f6070b0b2b0011ff6c0428c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a079f453157c77ba20ad43cfb10683187"><td class="memItemLeft" align="right" valign="top">abstract void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_tweener.html#a079f453157c77ba20ad43cfb10683187">OnUpdate</a> (float factor, bool isFinished)</td></tr>
<tr class="memdesc:a079f453157c77ba20ad43cfb10683187"><td class="mdescLeft">&#160;</td><td class="mdescRight">Actual tweening logic should go here.  <a href="#a079f453157c77ba20ad43cfb10683187">More...</a><br /></td></tr>
<tr class="separator:a079f453157c77ba20ad43cfb10683187"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:a5c2636d93c024c9172ec7ee3488ba9ee"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_tweener.html#a5c2636d93c024c9172ec7ee3488ba9ee">amountPerDelta</a><code> [get]</code></td></tr>
<tr class="memdesc:a5c2636d93c024c9172ec7ee3488ba9ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Amount advanced per delta time.  <a href="#a5c2636d93c024c9172ec7ee3488ba9ee">More...</a><br /></td></tr>
<tr class="separator:a5c2636d93c024c9172ec7ee3488ba9ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b047d6f9ceb7b49444384f443acf341"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_tweener.html#a0b047d6f9ceb7b49444384f443acf341">tweenFactor</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a0b047d6f9ceb7b49444384f443acf341"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tween factor, 0-1 range.  <a href="#a0b047d6f9ceb7b49444384f443acf341">More...</a><br /></td></tr>
<tr class="separator:a0b047d6f9ceb7b49444384f443acf341"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba396337c18b6349eacbf484940d1658"><td class="memItemLeft" align="right" valign="top">AnimationOrTween.Direction&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_tweener.html#aba396337c18b6349eacbf484940d1658">direction</a><code> [get]</code></td></tr>
<tr class="memdesc:aba396337c18b6349eacbf484940d1658"><td class="mdescLeft">&#160;</td><td class="mdescRight">Direction that the tween is currently playing in.  <a href="#aba396337c18b6349eacbf484940d1658">More...</a><br /></td></tr>
<tr class="separator:aba396337c18b6349eacbf484940d1658"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Base class for all tweening operations. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a534a35ee4eb70049569b8d3a1e273d5a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UITweener.AddOnFinished </td>
          <td>(</td>
          <td class="paramtype">EventDelegate.Callback&#160;</td>
          <td class="paramname"><em>del</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convenience function &ndash; add a new OnFinished event delegate (here for to be consistent with RemoveOnFinished). </p>

</div>
</div>
<a class="anchor" id="a564c38f7ec5d8df984e85b41645b1cfc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UITweener.AddOnFinished </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_event_delegate.html">EventDelegate</a>&#160;</td>
          <td class="paramname"><em>del</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convenience function &ndash; add a new OnFinished event delegate (here for to be consistent with RemoveOnFinished). </p>

</div>
</div>
<a class="anchor" id="aa04b45d3a0bbd70b9c58f40bbbaafb4e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static T UITweener.Begin&lt; T &gt; </td>
          <td>(</td>
          <td class="paramtype">GameObject&#160;</td>
          <td class="paramname"><em>go</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>duration</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>delay</em> = <code>0f</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Starts the tweening operation. </p>
<div class="typeconstraint">
<dl><dt><b>Type Constraints</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em>T</em></td><td>&#160;:</td><td valign="top"><em><a class="el" href="class_u_i_tweener.html">UITweener</a></em></td><td>&#160;</td></tr>
</table>
</dl>
</div>

</div>
</div>
<a class="anchor" id="a17d1b0139f6070b0b2b0011ff6c0428c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void UITweener.DoUpdate </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Update the tweening factor and call the virtual update function. </p>

</div>
</div>
<a class="anchor" id="a079f453157c77ba20ad43cfb10683187"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">abstract void UITweener.OnUpdate </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>factor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>isFinished</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Actual tweening logic should go here. </p>

<p>Implemented in <a class="el" href="class_tween_letters.html#a1b1bec24172537a0adba7854d5aa4ec3">TweenLetters</a>, <a class="el" href="class_tween_alpha.html#a8debd5716c9931dac9fa579a9b3d857c">TweenAlpha</a>, <a class="el" href="class_tween_color.html#a245ee7b179e739f8409f6e22a55db91d">TweenColor</a>, <a class="el" href="class_tween_volume.html#a78fb3ed9af2f1e06b841c680e716d8a2">TweenVolume</a>, <a class="el" href="class_tween_position.html#a65fe3a7953fca4f667778b9f24301f5a">TweenPosition</a>, <a class="el" href="class_tween_fill.html#ad2e758d85b3979bab9d51d16b9245703">TweenFill</a>, <a class="el" href="class_tween_ortho_size.html#a26ddbf77e107c6922e03d6a7bbccc307">TweenOrthoSize</a>, <a class="el" href="class_tween_f_o_v.html#a2acf75b9bca1ecd0cdb561fdc550c515">TweenFOV</a>, <a class="el" href="class_tween_height.html#a5aeeed083fd7fc70c83713ec70bb6893">TweenHeight</a>, <a class="el" href="class_tween_width.html#ac9714a19a34cae67e675501a46b07770">TweenWidth</a>, <a class="el" href="class_tween_rotation.html#a41f4314487b8c416ab4b1396c1aef8dd">TweenRotation</a>, <a class="el" href="class_tween_scale.html#a5442ef1ac7ab9a48518f668c6d5f6523">TweenScale</a>, and <a class="el" href="class_tween_transform.html#a95d1cbf9454a6a53f35d637535a19d1a">TweenTransform</a>.</p>

</div>
</div>
<a class="anchor" id="a5ccf8d451170e6d3a92a8930c7db6695"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UITweener.Play </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Play the tween. </p>

</div>
</div>
<a class="anchor" id="a717faff21dfdd2ffc0a20a2b75152917"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void UITweener.Play </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>forward</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Manually activate the tweening process, reversing it if necessary. </p>

<p>Reimplemented in <a class="el" href="class_tween_letters.html#ad26a95ec85665918bb3ed4d8cedaf1f7">TweenLetters</a>.</p>

</div>
</div>
<a class="anchor" id="a381d8b68ddbb056d850c5de7d8725856"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UITweener.PlayForward </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Play the tween forward. </p>

</div>
</div>
<a class="anchor" id="ad18cd25b177d4f0dfd8137a45ca17b5d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UITweener.PlayReverse </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Play the tween in reverse. </p>

</div>
</div>
<a class="anchor" id="a8088bc9f6b466a885be29fb3600361c5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UITweener.RemoveOnFinished </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_event_delegate.html">EventDelegate</a>&#160;</td>
          <td class="paramname"><em>del</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Remove an OnFinished delegate. Will work even while iterating through the list when the tweener has finished its operation. </p>

</div>
</div>
<a class="anchor" id="ad4ec42bdf7e922ee4a41a3d765ef4438"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UITweener.ResetToBeginning </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Manually reset the tweener's state to the beginning. If the tween is playing forward, this means the tween's start. If the tween is playing in reverse, this means the tween's end. </p>

</div>
</div>
<a class="anchor" id="a6e77b31004ced03fef3d7c3dad2ed768"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UITweener.Sample </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>factor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>isFinished</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sample the tween at the specified factor. </p>

</div>
</div>
<a class="anchor" id="aa6fa8ed8fcb4b2b7c3c466ffa0d42e60"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void UITweener.SetEndToCurrentValue </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the 'to' value to the current one. </p>

<p>Reimplemented in <a class="el" href="class_tween_color.html#a50a0ef850878be27171ce7e152c00063">TweenColor</a>, <a class="el" href="class_tween_alpha.html#aa9b3ee5b3fbe3d0fb2b2f6537d7cd6a1">TweenAlpha</a>, <a class="el" href="class_tween_position.html#ada134fd9643cf883f1aa6ef585f762e0">TweenPosition</a>, <a class="el" href="class_tween_volume.html#a2e6239a4e4be9befe96fbc45ebb4f1f4">TweenVolume</a>, <a class="el" href="class_tween_height.html#a5b82cba11f380fd394833d324eadabdd">TweenHeight</a>, <a class="el" href="class_tween_width.html#af10ee72b15990133120fbe7e0278881c">TweenWidth</a>, <a class="el" href="class_tween_fill.html#ad8a8fb5d40c82867d039322d6e5a1797">TweenFill</a>, <a class="el" href="class_tween_scale.html#aee7d4185e6cad8d93983f325cbc6e628">TweenScale</a>, <a class="el" href="class_tween_ortho_size.html#a27b5fe82c63f9a1ea77544dc6564895d">TweenOrthoSize</a>, <a class="el" href="class_tween_rotation.html#a8d970b34de0a5bd7fb73737956d5e8fc">TweenRotation</a>, and <a class="el" href="class_tween_f_o_v.html#aa8b6b1b6dea4e72d74fa7531bd3e666d">TweenFOV</a>.</p>

</div>
</div>
<a class="anchor" id="a41e5d5625c5af78ad74da3cb635adb5e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UITweener.SetOnFinished </td>
          <td>(</td>
          <td class="paramtype">EventDelegate.Callback&#160;</td>
          <td class="paramname"><em>del</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convenience function &ndash; set a new OnFinished event delegate (here for to be consistent with RemoveOnFinished). </p>

</div>
</div>
<a class="anchor" id="a6fa07262b093ee225473785eac5f3a67"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UITweener.SetOnFinished </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_event_delegate.html">EventDelegate</a>&#160;</td>
          <td class="paramname"><em>del</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convenience function &ndash; set a new OnFinished event delegate (here for to be consistent with RemoveOnFinished). </p>

</div>
</div>
<a class="anchor" id="adba77da9def421a6d4fb242ba9c254c5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void UITweener.SetStartToCurrentValue </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the 'from' value to the current one. </p>

<p>Reimplemented in <a class="el" href="class_tween_alpha.html#a967daca70c613598b78f4a2b73d407d2">TweenAlpha</a>, <a class="el" href="class_tween_color.html#a1602300d7426be6cbcae8ee984562027">TweenColor</a>, <a class="el" href="class_tween_position.html#a3bca1f675e9fc23c7840060e508dadb8">TweenPosition</a>, <a class="el" href="class_tween_volume.html#a922c4f4c52c71df33c588087b9820873">TweenVolume</a>, <a class="el" href="class_tween_height.html#a63c19b2adddd08629dfe70323593b51e">TweenHeight</a>, <a class="el" href="class_tween_width.html#a58768b1a68729b25520321052a9833fa">TweenWidth</a>, <a class="el" href="class_tween_fill.html#a116011a9698c3e8641d98e2ce3257aab">TweenFill</a>, <a class="el" href="class_tween_ortho_size.html#af827775be5ac7d621930c9361b3eaab7">TweenOrthoSize</a>, <a class="el" href="class_tween_scale.html#abca60417290a191bea3104055c7cb3e2">TweenScale</a>, <a class="el" href="class_tween_rotation.html#a87b0d951a85d3f6a205bcfb065e5ffd6">TweenRotation</a>, and <a class="el" href="class_tween_f_o_v.html#ac9baebea7832119693ee706aa8105101">TweenFOV</a>.</p>

</div>
</div>
<a class="anchor" id="ae4769a25a1fbcac14c4a87406b4618f7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void UITweener.Start </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Update as soon as it's started so that there is no delay. </p>

</div>
</div>
<a class="anchor" id="adfa96ed8007042236f4fa79a2d7b8be8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void UITweener.Toggle </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Manually start the tweening process, reversing its direction. </p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="ab619544770f3da215dfb0f99aa708dab"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">AnimationCurve UITweener.animationCurve = new AnimationCurve(new Keyframe(0f, 0f, 0f, 1f), new Keyframe(1f, 1f, 1f, 0f))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Optional curve to apply to the tween's time factor value. </p>

</div>
</div>
<a class="anchor" id="a89b127942e07fb83f8b86e69f129f9bc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_tweener.html">UITweener</a> UITweener.current</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Current tween that triggered the callback function. </p>

</div>
</div>
<a class="anchor" id="a0b543af734bd25b6cd63603fd85f077e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float UITweener.delay = 0f</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>How long will the tweener wait before starting the tween? </p>

</div>
</div>
<a class="anchor" id="a8b0d2007cc5bb8a4f15376e9f79d5f47"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float UITweener.duration = 1f</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>How long is the duration of the tween? </p>

</div>
</div>
<a class="anchor" id="a70109184cbfb855672178546c041f978"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool UITweener.ignoreTimeScale = true</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Whether the tween will ignore the timescale, making it work while the game is paused. </p>

</div>
</div>
<a class="anchor" id="af29adcd2bf734700b944d86b91077788"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Method UITweener.method = Method.Linear</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Tweening method used. </p>

</div>
</div>
<a class="anchor" id="a6b7a6b406cf2dedc158e8998c3159a67"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">List&lt;<a class="el" href="class_event_delegate.html">EventDelegate</a>&gt; UITweener.onFinished = new List&lt;<a class="el" href="class_event_delegate.html">EventDelegate</a>&gt;()</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Event delegates called when the animation finishes. </p>

</div>
</div>
<a class="anchor" id="a67538bc1bb9f9de1256d378927622fad"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool UITweener.steeperCurves = false</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Whether the tweener will use steeper curves for ease in / out style interpolation. </p>

</div>
</div>
<a class="anchor" id="a8e99adea86bc7dbed894862c61b16472"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Style UITweener.style = Style.Once</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Does it play once? Does it loop? </p>

</div>
</div>
<a class="anchor" id="a2621b652ce140865c53624d3195f9f63"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float UITweener.timeScale = 1f</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Custom time scale for this tween, if desired. Can be used to slow down or speed up the animation. </p>

</div>
</div>
<a class="anchor" id="a4e68360886bb3298cdd86b8f0326770c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int UITweener.tweenGroup = 0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Used by buttons and tween sequences. Group of '0' means not in a sequence. </p>

</div>
</div>
<h2 class="groupheader">Property Documentation</h2>
<a class="anchor" id="a5c2636d93c024c9172ec7ee3488ba9ee"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float UITweener.amountPerDelta</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Amount advanced per delta time. </p>

</div>
</div>
<a class="anchor" id="aba396337c18b6349eacbf484940d1658"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">AnimationOrTween.Direction UITweener.direction</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Direction that the tween is currently playing in. </p>

</div>
</div>
<a class="anchor" id="a0b047d6f9ceb7b49444384f443acf341"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float UITweener.tweenFactor</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Tween factor, 0-1 range. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>D:/WorkDir/Unity3D_Work/taidou_arpg/Assets/NGUI/Scripts/Tweening/UITweener.cs</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_u_i_tweener.html">UITweener</a></li>
    <li class="footer">Generated on Sat Jan 4 2020 22:30:28 for NGUI by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9 </li>
  </ul>
</div>
</body>
</html>
